package ga.wavaplayer.util {
	
	public class NumberUtil{
		
		public function NumberUtil(){}
		
		public static function lead(value:Number, pLength:uint = 2):String {
			var leading:String = '';
			var toAdd:uint = pLength - Math.floor(value).toString().length;
			while (toAdd-- > 0) {
				leading += '0';
			}
			return leading + value;
		}
	}
}